import request from "./../request.js";


//APP登录
export function appleLogin(data)
{
  return request.post("users/appLogin", data, { noAuth: true});
}

//支付宝登录
export function alilogin(data)
{
  return request.post("Users/alilogin", data, { noAuth: false,});
}


//小程序登录
export function wxLogin(data)
{
  return request.post("users/wxLogin", data, { noAuth: true});
}


//获取用户信息
export function getUserinfo(data)
{
  return request.post("Users/getUserinfo", data, { noAuth: true});
}

//微信支付
export function weixinPay(data)
{
  return request.post("Weixinpay/weixinPay", data, { noAuth: true});
}
//微信授权获取openid、unionid
export function authorWechat(data)
{
  return request.post("Users/authorWechat", data, { noAuth: true});
}


//APP热更新
export function upgrade(data)
{
  return request.post("index/upgrade", data, { noAuth: true});
}



//姓名卡信息查询
export function scanNameCard(data)
{
  return request.post("index/scanNameCard", data, { noAuth: true});
}



